package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the ESTADO_TITULOS database table.
 * 
 */
//@Entity
//@Table(name="ESTADO_TITULOS")
public class EstadoTitulo implements Serializable {
	private static final long serialVersionUID = 1L;
	private String anoTitu;
	private String areaRegId;
	private String esTituCali;
	private BigDecimal nsDetalle;
	private String numTitu;
	private String oficRegId;
	private BigDecimal refnumTitu;
	private String regPubId;
	private Date tsCreaDetalle;
	private Date tsPresent;

    public EstadoTitulo() {
    }


	@Column(name="ANO_TITU", nullable=false, length=4)
	public String getAnoTitu() {
		return this.anoTitu;
	}

	public void setAnoTitu(String anoTitu) {
		this.anoTitu = anoTitu;
	}


	@Column(name="AREA_REG_ID", length=5)
	public String getAreaRegId() {
		return this.areaRegId;
	}

	public void setAreaRegId(String areaRegId) {
		this.areaRegId = areaRegId;
	}


	@Column(name="ES_TITU_CALI", length=2)
	public String getEsTituCali() {
		return this.esTituCali;
	}

	public void setEsTituCali(String esTituCali) {
		this.esTituCali = esTituCali;
	}


	@Column(name="NS_DETALLE", precision=5)
	public BigDecimal getNsDetalle() {
		return this.nsDetalle;
	}

	public void setNsDetalle(BigDecimal nsDetalle) {
		this.nsDetalle = nsDetalle;
	}


	@Column(name="NUM_TITU", nullable=false, length=8)
	public String getNumTitu() {
		return this.numTitu;
	}

	public void setNumTitu(String numTitu) {
		this.numTitu = numTitu;
	}


	@Column(name="OFIC_REG_ID", nullable=false, length=2)
	public String getOficRegId() {
		return this.oficRegId;
	}

	public void setOficRegId(String oficRegId) {
		this.oficRegId = oficRegId;
	}


	@Column(name="REFNUM_TITU", nullable=false)
	public BigDecimal getRefnumTitu() {
		return this.refnumTitu;
	}

	public void setRefnumTitu(BigDecimal refnumTitu) {
		this.refnumTitu = refnumTitu;
	}


	@Column(name="REG_PUB_ID", nullable=false, length=2)
	public String getRegPubId() {
		return this.regPubId;
	}

	public void setRegPubId(String regPubId) {
		this.regPubId = regPubId;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_CREA_DETALLE")
	public Date getTsCreaDetalle() {
		return this.tsCreaDetalle;
	}

	public void setTsCreaDetalle(Date tsCreaDetalle) {
		this.tsCreaDetalle = tsCreaDetalle;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_PRESENT", nullable=false)
	public Date getTsPresent() {
		return this.tsPresent;
	}

	public void setTsPresent(Date tsPresent) {
		this.tsPresent = tsPresent;
	}

}